package com.lyj.mode.principle.egregation;

/**
 * 维修类
 * @author:liyajie
 * @createTime:2022/1/29 17:00
 * @version:1.0
 */
public class RepairLiNew implements RepairCar,RepairTrain{


    @Override
    public void car() {
        System.out.println("李师傅修汽车");
    }

    @Override
    public void train() {
        System.out.println("李师傅修火车");
    }
}
